package com.example.springboottestservice.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * 测试代理对象是否循环依赖能解决
 */
@Aspect
@Component
public class FAspectJ {

    @Pointcut(value = "execution(* com.example.springboottestservice.aop.F.*(..))")
    public void pointcut(){}

    @Before(value = "pointcut()")
    public void logBefore2(){
        System.out.println("...logBefore F...");
    }

}
